using System;
using System.Collections.Generic;
using System.Text;

namespace Decav.Gatsb.Application
{
    /// <summary>
    /// Interfaces an application provider that creates and manages <see cref="GatsbApplication"/> instances.
    /// </summary>
    public interface IGatsbApplicationProvider
    {
        /// <summary>
        /// Gets the currently running instance of the application, or creates a new one.
        /// </summary>
        /// <returns>The application instance for the current process or thread.</returns>
        GatsbApplication GetCurrentApplicationInstance();
    }
}
